package com.chc.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

@AllArgsConstructor
@Data
@NoArgsConstructor
public class SensorReading {

    private String name;
    private Long time;
    private Double temperature;

    @Override
    public String toString() {
        return "SensorReading{" +
                "name='" + name + '\'' +
                ", time=" + time +
                ", temperature=" + temperature +
                '}';
    }
}